package com.dongdongshop.pojo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class OrderItemDTO implements Serializable {
    /**
     * @Description: 创建时间
     */
    private Date createTime;
    /**
     * @Description: 订单编号
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long orderId;
    /**
     * @Description: 商家
     */
    private String sellerId;
    /**
     * @Description: 支付状态
     */
    private String status;
    /**
     * @Description: 订单明细
     */
    private List<TbOrderItem> orderItem;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<TbOrderItem> getOrderItem() {
        return orderItem;
    }

    public void setOrderItem(List<TbOrderItem> orderItem) {
        this.orderItem = orderItem;
    }
}
